import Vue from 'vue'
import App from './App.vue'
import './assets/icon/iconfont.css'

import './components/Top.vue'
import './components/List.vue'
import './components/Display.vue'

//引入VueRouter
import VueRouter from 'vue-router'

//应用插件
Vue.use(VueRouter)

//引入路由器
import router from './router/index'

//关闭生产环境提交
Vue.config.productionTip = false

new Vue({
    el:'#app',
    render:(createElement) =>{
        return createElement(App)
    },
    router
})